Loading
Scriptbox
 VBScript Links 
 About VBscript 
 JavaScript Links 
 About JavaScript 
 Powershell Links 
 PSCRIPT the Script Launcher 
 PowerShell Shortcut Keys 
 About Powershell 
     VBScript
    JavaScript
    Powershell
Disclaimer
Contact
Latest 10 Scripts
Script search
  :: { Category } :: 0-9ABCDEFGHIJKLMNOPQRSTUVWXYZ
         

Search Options:  List  Terminal  Services  Client  Settings  

 Content of List Terminal Services Client Settings.vbs
MD5 Hash: 3B0D9F1A0E34E83381F4CCEE44EDFCD6
' Description: Returns information about the Terminal Service client settings and policies configured on a computer.


strComputer = "."
Set objWMIService = GetObject("winmgmts:" _
& "{impersonationLevel=impersonate}!\\" & strComputer & "\root\cimv2")

Set colItems = objWMIService.ExecQuery("Select * from Win32_TSClientSetting")

For Each objItem in colItems
Wscript.Echo "Audio mapping: " & objItem.AudioMapping
Wscript.Echo "Caption: " & objItem.Caption
Wscript.Echo "Clipboard mapping: " & objItem.ClipboardMapping
Wscript.Echo "Color depth: " & objItem.ColorDepth
Wscript.Echo "Color depth policy: " & objItem.ColorDepthPolicy
Wscript.Echo "COM port mapping: " & objItem.COMPortMapping
Wscript.Echo "Connect client drives at logon: " & _
objItem.ConnectClientDrivesAtLogon
Wscript.Echo "Connection policy: " & objItem.ConnectionPolicy
Wscript.Echo "Connect printer at logon: " & objItem.ConnectPrinterAtLogon
Wscript.Echo "Default to client printer: " & objItem.DefaultToClientPrinter
Wscript.Echo "Description: " & objItem.Description
Wscript.Echo "Drive mapping: " & objItem.DriveMapping
Wscript.Echo "LPT port mapping: " & objItem.LPTPortMapping
Wscript.Echo "Setting ID: " & objItem.SettingID
Wscript.Echo "Terminal name: " & objItem.TerminalName
Wscript.Echo "Windows printer mapping: " & objItem.WindowsPrinterMapping
Wscript.Echo
Next

   © 2008 - 2013 Boris Toll      :: Scripts available: 6.481 ::      :: scriptbox.toll.at ::      :: powered by www.toll.at ::
  Google Entries:n/a
  Yahoo Backlinks:n/a
  Live Backlinks:n/a
  del.icio.us Bookmarks:n/a
  Technorati Links:n/a